#include<stdio.h>
#include<string.h>

void RemoveString(char *dest, const char *src)
{
    char *str= strstr(dest,src);
    while(str!=NULL)
    {
        char *back=str+strlen(src);
    while(*back !='\0');
    {
        *str++=*back++;
    }
    *str='\0';
    str=strstr(dest,src);
    }
}
int main()
{
    char str[]="zhangsan,zhangsi,zhangwu";
    RemoveString(str,"zhang");
    printf("%s\n",str);
    return 0;
}